package com.busines.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.busines.dao.xunting.ITSchoolDao;
import com.busines.pojo.xunting.TSchool;
import com.busines.service.ISchoolAndStudent;
@Service("schoolAndStudent")
public class SchoolAndStudentImpl implements ISchoolAndStudent {

	@Resource(name="tSchoolDao")
	private ITSchoolDao tSchoolDao;
	
	@Override
	public List<TSchool> queryInformation() {
		return tSchoolDao.queryInformation();
	}

	@Override
	public TSchool queryTSchool(Integer no) {
		return tSchoolDao.queryInformation(no);
	}

}
